﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001CB RID: 459
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChallengeRaidNotify : IMessage<ChallengeRaidNotify>, IMessage, IEquatable<ChallengeRaidNotify>, IDeepCloneable<ChallengeRaidNotify>, IBufferMessage
	{
		// Token: 0x17000612 RID: 1554
		// (get) Token: 0x060014D0 RID: 5328 RVA: 0x0003B619 File Offset: 0x00039819
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChallengeRaidNotify> Parser
		{
			get
			{
				return ChallengeRaidNotify._parser;
			}
		}

		// Token: 0x17000613 RID: 1555
		// (get) Token: 0x060014D1 RID: 5329 RVA: 0x0003B620 File Offset: 0x00039820
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChallengeRaidNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000614 RID: 1556
		// (get) Token: 0x060014D2 RID: 5330 RVA: 0x0003B632 File Offset: 0x00039832
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChallengeRaidNotify.Descriptor;
			}
		}

		// Token: 0x060014D3 RID: 5331 RVA: 0x0003B639 File Offset: 0x00039839
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeRaidNotify()
		{
		}

		// Token: 0x060014D4 RID: 5332 RVA: 0x0003B641 File Offset: 0x00039841
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeRaidNotify(ChallengeRaidNotify other) : this()
		{
			this.challengeRaid_ = ((other.challengeRaid_ != null) ? other.challengeRaid_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060014D5 RID: 5333 RVA: 0x0003B676 File Offset: 0x00039876
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeRaidNotify Clone()
		{
			return new ChallengeRaidNotify(this);
		}

		// Token: 0x17000615 RID: 1557
		// (get) Token: 0x060014D6 RID: 5334 RVA: 0x0003B67E File Offset: 0x0003987E
		// (set) Token: 0x060014D7 RID: 5335 RVA: 0x0003B686 File Offset: 0x00039886
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChallengeRaid ChallengeRaid
		{
			get
			{
				return this.challengeRaid_;
			}
			set
			{
				this.challengeRaid_ = value;
			}
		}

		// Token: 0x060014D8 RID: 5336 RVA: 0x0003B68F File Offset: 0x0003988F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChallengeRaidNotify);
		}

		// Token: 0x060014D9 RID: 5337 RVA: 0x0003B69D File Offset: 0x0003989D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChallengeRaidNotify other)
		{
			return other != null && (other == this || (object.Equals(this.ChallengeRaid, other.ChallengeRaid) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060014DA RID: 5338 RVA: 0x0003B6D0 File Offset: 0x000398D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.challengeRaid_ != null)
			{
				num ^= this.ChallengeRaid.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060014DB RID: 5339 RVA: 0x0003B70C File Offset: 0x0003990C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060014DC RID: 5340 RVA: 0x0003B714 File Offset: 0x00039914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060014DD RID: 5341 RVA: 0x0003B71D File Offset: 0x0003991D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.challengeRaid_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.ChallengeRaid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060014DE RID: 5342 RVA: 0x0003B750 File Offset: 0x00039950
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.challengeRaid_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ChallengeRaid);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060014DF RID: 5343 RVA: 0x0003B790 File Offset: 0x00039990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChallengeRaidNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.challengeRaid_ != null)
			{
				if (this.challengeRaid_ == null)
				{
					this.ChallengeRaid = new ChallengeRaid();
				}
				this.ChallengeRaid.MergeFrom(other.ChallengeRaid);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060014E0 RID: 5344 RVA: 0x0003B7E4 File Offset: 0x000399E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060014E1 RID: 5345 RVA: 0x0003B7F0 File Offset: 0x000399F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.challengeRaid_ == null)
					{
						this.ChallengeRaid = new ChallengeRaid();
					}
					input.ReadMessage(this.ChallengeRaid);
				}
			}
		}

		// Token: 0x04000895 RID: 2197
		private static readonly MessageParser<ChallengeRaidNotify> _parser = new MessageParser<ChallengeRaidNotify>(() => new ChallengeRaidNotify());

		// Token: 0x04000896 RID: 2198
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000897 RID: 2199
		public const int ChallengeRaidFieldNumber = 3;

		// Token: 0x04000898 RID: 2200
		private ChallengeRaid challengeRaid_;
	}
}
